import { NzSafeAny } from "ng-zorro-antd/core/types";

// 校验规则 判断为空
export function isEmptyInputValue(value: NzSafeAny): boolean {
    return value == null || value.length === 0;
}

// 校验规则 手机哈
export function isMobile(value: string): boolean {
    return typeof value === 'string' && /(^1\d{10}$)/.test(value);
}
